package com.iris.live.services.data.repositories;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;

import com.iris.live.services.data.models.Lsh金融设置适用车型Model;
import com.iris.live.services.data.models.Lsh金融设置适用车型ModelPK;
public interface LSH金融设置适用车型Repository extends JpaRepository<Lsh金融设置适用车型Model, Lsh金融设置适用车型ModelPK>, JpaSpecificationExecutor<Lsh金融设置适用车型Model> {
	
	@Modifying
	@Query("DELETE FROM Lsh金融设置适用车型Model u where u.金融编号=?1")
	void deleteByFinanceNum(Integer maxFinanceNum);
	

}
